# 爱词霸翻译：http://fy.iciba.com
import requests

url2 = 'http://fy.iciba.com/ajax.php?a=fy'
headers2 = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36'
}
# 请求体数据
data2 = {
    'f': 'auto',
    't': 'auto',
    'w': '好好学习'
}
r = requests.post(url2, headers=headers2, data=data2)
print(r.content)
